//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.wsd.smartcarwasher.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.util.Date;

@ApiModel("订单")
public class Order {
    @ApiModelProperty("订单号")
    private String orderSn;
    @ApiModelProperty("用户ID")
    private String userId;
    @ApiModelProperty("订单状态")
    private Integer orderStatus;
    @ApiModelProperty("付款状态")
    private Integer payStatus;
    @ApiModelProperty("付款Id")
    private String payId;
    @ApiModelProperty("订单总价")
    private BigDecimal orderPrice;
    @ApiModelProperty("实付价格")
    private BigDecimal payPrice;
    @ApiModelProperty("创建时间")
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8"
    )
    private Date createTime;
    @ApiModelProperty("付款时间")
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8"
    )
    private Date payTime;
    @ApiModelProperty("支付方式 1：微信支付，2：会员卡")
    private Integer payWayCode;
    @ApiModelProperty("本次支付距离上次支付的时间节点")
    private Integer payNode;



    public Integer getPayNode() {
        return payNode;
    }

    public void setPayNode(Integer payNode) {
        this.payNode = payNode;
    }

    public Order() {
    }

    public String getOrderSn() {
        return this.orderSn;
    }

    public void setOrderSn(String orderSn) {
        this.orderSn = orderSn;
    }

    public String getUserId() {
        return this.userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getOrderStatus() {
        return this.orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Integer getPayStatus() {
        return this.payStatus;
    }

    public void setPayStatus(Integer payStatus) {
        this.payStatus = payStatus;
    }

    public String getPayId() {
        return this.payId;
    }

    public void setPayId(String payId) {
        this.payId = payId;
    }

    public BigDecimal getOrderPrice() {
        return this.orderPrice;
    }

    public void setOrderPrice(BigDecimal orderPrice) {
        this.orderPrice = orderPrice;
    }

    public BigDecimal getPayPrice() {
        return this.payPrice;
    }

    public void setPayPrice(BigDecimal payPrice) {
        this.payPrice = payPrice;
    }

    public Date getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getPayTime() {
        return this.payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public Integer getPayWayCode() {
        return this.payWayCode;
    }

    public void setPayWayCode(Integer payWayCode) {
        this.payWayCode = payWayCode;
    }
}


/*
package com.wsd.smartcarwasher.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;

@ApiModel(value = "订单")
public class Order {

    //订单序列号
    @ApiModelProperty(value = "订单号")
    private String orderSn;
    //用户ID
    @ApiModelProperty(value = "用户ID")
    private String userId;
    //订单状态
    //1xx 表示订单取消和删除等状态 0订单创建成功等待付款，101订单已取消，102订单已删除
    @ApiModelProperty(value = "订单状态")
    private Integer orderStatus;
    //付款状态 支付状态;1未付款;2已付款
    @ApiModelProperty(value = "付款状态")
    private Integer payStatus;
    //付款Id
    @ApiModelProperty(value = "付款Id")
    private String payId;
    //订单总价
    @ApiModelProperty(value = "订单总价")
    private BigDecimal orderPrice;
    //实付价格
    @ApiModelProperty(value = "实付价格")
    private BigDecimal payPrice;
    //创建时间
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    //付款时间
    @ApiModelProperty(value = "付款时间")
    private Date payTime;
    //1：微信支付，2：会员卡
    @ApiModelProperty(value = "支付方式 1：微信支付，2：会员卡")
    private Integer payWayCode;

    public String getOrderSn() {
        return orderSn;
    }

    public void setOrderSn(String orderSn) {
        this.orderSn = orderSn;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Integer getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(Integer payStatus) {
        this.payStatus = payStatus;
    }

    public String getPayId() {
        return payId;
    }

    public void setPayId(String payId) {
        this.payId = payId;
    }

    public BigDecimal getOrderPrice() {
        return orderPrice;
    }

    public void setOrderPrice(BigDecimal orderPrice) {
        this.orderPrice = orderPrice;
    }

    public BigDecimal getPayPrice() {
        return payPrice;
    }

    public void setPayPrice(BigDecimal payPrice) {
        this.payPrice = payPrice;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public Integer getPayWayCode() {
        return payWayCode;
    }

    public void setPayWayCode(Integer payWayCode) {
        this.payWayCode = payWayCode;
    }
}
*/
